import request from "@/utils/request";

export function get() {
  return request({
    url: "/ums/UmsMemberMealCommissionConfig/get",
    method: "get"
  });
}

export function createCommissionConfig(data) {
  return request({
    url: "/ums/UmsMemberMealCommissionConfig/create",
    method: "post",
    data: data
  });
}

export function updateCommissionConfig(id, data) {
  return request({
    url: "/ums/UmsMemberMealCommissionConfig/update/" + id,
    method: "post",
    data: data
  });
}
